/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package familytree.negocio.bo;

import familytree.negocio.IStrategyBusquedaProcessor;
import java.util.List;

/**
 *
 * @author Antonio
 */
public class BusquedaBO<T> {

    IStrategyBusquedaProcessor<T> strategy;
    
    public BusquedaBO(IStrategyBusquedaProcessor<T> strategy){
        this.strategy = strategy;
    }
    
    public List<T> buscar(Object...parametros){
        return strategy.buscar(parametros);
    } 
}
